package org.yf.samples.model;

import org.hibernate.validator.constraints.NotEmpty;

public class ExamTestVO {

	private Integer id;
	
	@NotEmpty( message = "题干不能为空")
	private String content;
	
	@NotEmpty( message = "不能为空")
	private String chooseA;
	
	@NotEmpty( message = "不能为空")
	private String chooseB;
	
	@NotEmpty( message = "不能为空")
	private String chooseC;

	@NotEmpty( message = "不能为空")
	private String chooseD;
	
	private Integer subId;
	
	private String subName;
	
	private String answer;
	
	private ExamTestTypeVO examTestType;
	
	public ExamTestVO(){
		super();
	}
	
	public ExamTestVO(Integer id, String content, String chooseA, String chooseB, String chooseC, String chooseD, Integer subId, String subName, String answer, ExamTestTypeVO examTestType){
		super();
		this.id = id;
		this.content = content;
		this.chooseA = chooseA;
		this.chooseB = chooseB;
		this.chooseC = chooseC;
		this.chooseD = chooseD;
		this.subId = subId;
		this.subName = subName;
		this.answer = answer;
		this.examTestType = examTestType;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getChooseA() {
		return chooseA;
	}

	public void setChooseA(String chooseA) {
		this.chooseA = chooseA;
	}

	public String getChooseB() {
		return chooseB;
	}

	public void setChooseB(String chooseB) {
		this.chooseB = chooseB;
	}

	public String getChooseC() {
		return chooseC;
	}

	public void setChooseC(String chooseC) {
		this.chooseC = chooseC;
	}

	public String getChooseD() {
		return chooseD;
	}

	public void setChooseD(String chooseD) {
		this.chooseD = chooseD;
	}

	public Integer getSubId() {
		return subId;
	}

	public void setSubId(Integer subId) {
		this.subId = subId;
	}

	public String getSubName() {
		return subName;
	}

	public void setSubName(String subName) {
		this.subName = subName;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public ExamTestTypeVO getExamTestType() {
		return examTestType;
	}

	public void setExamTestType(ExamTestTypeVO examTestType) {
		this.examTestType = examTestType;
	}
	
}
